﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Lyh.Models" namespace="Lyh.Models">
  <class name="Lyh.Models.User" table="[User]">
    <id name="Id" column="UserId" type="String">
      <generator class="uuid.hex">
        <param name="format">D</param>
      </generator>
    </id>
    <property name="UserName" column="UserName" type="String"/>
    <property name="Password" column="Password" type="String"/>
    <property name="NickName" column="NickName" type="String"/>
    <property name="Code" column="Code" type="String"/>
    <property name="Description" column="Description" type="String"/>
    <property name="CreateTime" column="CreateTime" type="DateTime"/>
    <property name="IsDeleted" column="IsDeleted" type="Boolean"/>
    <property name="Status" column="Status" type="Int32"/>
    <property name="Version" column="Version" type="Int32"/>
  </class>
</hibernate-mapping>